import request from '.';

interface UserInfo {
    userId: string;
    displayUserId: string;
    headImgFileUrl: string;
    nickname: string;
    locationId: string;
    gender: number;
    systemLanguage: string;
}

interface TabList {
    id: string;
    text: any;
    roomType: string;
    displayAreaType: string;
    apiUrl: string;
    selected: boolean;
    adIndex: number;
}
// 获取用户信息
export const getUserInfo = request<UserInfo>('/nuser/api/loginSimpleUserInfo');

// 获取品类二级tab列表
export const getTabList = request<TabList>('/live/api/roomTypeTab/tabList');
